package com.jeesite.modules.interfacelogs.service;

import java.util.List;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeesite.common.entity.Page;
import com.jeesite.common.service.CrudService;
import com.jeesite.modules.interfacelogs.entity.InterfaceLogs;
import com.jeesite.modules.interfacelogs.dao.InterfaceLogsDao;

/**
 * 接口日志Service
 * @author 码脑洞
 * @version 2025-04-13
 */
@Service
public class InterfaceLogsService extends CrudService<InterfaceLogsDao, InterfaceLogs> {
	
	/**
	 * 获取单条数据
	 * @param interfaceLogs
	 * @return
	 */
	@Override
	public InterfaceLogs get(InterfaceLogs interfaceLogs) {
		return super.get(interfaceLogs);
	}
	
	/**
	 * 查询分页数据
	 * @param interfaceLogs 查询条件
	 * @param interfaceLogs page 分页对象
	 * @return
	 */
	@Override
	public Page<InterfaceLogs> findPage(InterfaceLogs interfaceLogs) {
		return super.findPage(interfaceLogs);
	}
	
	/**
	 * 查询列表数据
	 * @param interfaceLogs
	 * @return
	 */
	@Override
	public List<InterfaceLogs> findList(InterfaceLogs interfaceLogs) {
		return super.findList(interfaceLogs);
	}
	
	/**
	 * 保存数据（插入或更新）
	 * @param interfaceLogs
	 */
	@Override
	@Transactional
	public void save(InterfaceLogs interfaceLogs) {
		super.save(interfaceLogs);
	}
	
	/**
	 * 更新状态
	 * @param interfaceLogs
	 */
	@Override
	@Transactional
	public void updateStatus(InterfaceLogs interfaceLogs) {
		super.updateStatus(interfaceLogs);
	}
	
	/**
	 * 删除数据
	 * @param interfaceLogs
	 */
	@Override
	@Transactional
	public void delete(InterfaceLogs interfaceLogs) {
		super.delete(interfaceLogs);
	}
	
}